package experiment_4;

public class test {
	public static void main(String[] args) {
		Student student;
		Laboratory Laboratory = new Laboratory();

		String[] arr1 = new String[] { "计算机网络实验室", "组成原理实验室", "磨车机房", "图书馆" };
		String[] arr2 = new String[] { "贝尔实验室", "低维量子物理实验室", "铣车车机房", "图书馆" };

		student = new Student("代赫", 20, 2020310864, "男");

		System.out.println("姓名：" + student.getName() + "   "
				+ "年龄：" + student.getAge() + "   "
				+ "编号：" + student.getBianhao() + "   "
				+ "性别：" + student.getXingbie());

		Laboratory.dafen(arr1);
		Laboratory.shuchu();
		System.out.println();
		float h = Salary.Amount(Laboratory.fen);
		Salary.realsalaryes(h);

		student = new Student("王艳芳", 18, 1101112002, "女");
		System.out.println("姓名：" + student.getName() + "   "
				+ "年龄：" + student.getAge() + "   "
				+ "编号：" + student.getBianhao() + "   "
				+ "性别：" + student.getXingbie());

		Laboratory.dafen(arr2);
		Laboratory.shuchu();
		System.out.println();
		float x = Salary.Amount(Laboratory.fen);
		Salary.realsalaryes(x);

	}
}
